package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.Result;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;

import java.util.List;

public interface CheckItemService {

    Result add(CheckItem checkItem);

    Result update(CheckItem checkItem);

    Result delete(Integer id);

    Result queryById(Integer id);

    PageResult queryPage(Integer pageCurrent, Integer pageSize);

    PageResult queryString(String queryString );

    List<CheckItem> queryAll();

}
